<?php
session_start();
// debug settings
define('DEBUG',false);
error_reporting(0);

// main controller
ini_set("include_path", get_include_path().":./config:./lib:./controllers:./models");

// autoloading of classes
function __autoload($class){
    require_once strtolower($class) . ".php";
}

// include libraries and initialize settings
$bootstrap = new Bootstrap();
$bootstrap->init();

// see app.php #run()
App::run();